using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("DeptInfo")]
    public partial class DeptInfo : BaseModel2
    {

        /// <summary>
        /// 科室编码
        /// </summary>
        [SugarColumn(ColumnName = "DeptCode")]
        public string DeptCode { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        [SugarColumn(ColumnName = "DeptName")]
        public string DeptName { get; set; }

        /// <summary>
        /// 拼音码
        /// </summary>
        [SugarColumn(ColumnName = "SpellCode")]
        public string SpellCode { get; set; }

        /// <summary>
        /// 是否有效 1有效 0无效
        /// </summary>
        [SugarColumn(ColumnName = "ValidFlag")]
        public string ValidFlag { get; set; } = "1";

        /// <summary>
        /// 1 门诊 2 住院 3 其他
        /// </summary>
        [SugarColumn(ColumnName = "DeptType")]
        public string DeptType { get; set; }

        /// <summary>
        /// 01老院 02新院
        /// </summary>
        [SugarColumn(ColumnName = "HospitalArea")]
        public string HospitalArea { get; set; }

    }
}